package com.pinla.areamanager.dao.impl;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pinla.areamanager.dao.dao.AreaMgrDao;
import com.pinla.areamanager.vo.AreaMgrInfo;

@SuppressWarnings("unchecked")
public class AreaMgrDaoImpl extends SqlMapClientDaoSupport implements
		AreaMgrDao {

	public List<AreaMgrInfo> getAreaMgrInfo(AreaMgrInfo area) {
		return getSqlMapClientTemplate().queryForList("AreaMgrInfo.getAll",
				area);
	}

	public AreaMgrInfo getAreaMgrById(AreaMgrInfo area) {

		return (AreaMgrInfo) getSqlMapClientTemplate().queryForObject(
				"AreaMgrInfo.getAll", area);
	}

	public void deleteAll(AreaMgrInfo area) {
		// TODO Auto-generated method stub

	}

	public void deleteAreaById(AreaMgrInfo area) {
		// TODO Auto-generated method stub

	}

	public void updateArea(AreaMgrInfo area) {
		// TODO Auto-generated method stub

	}

}
